{%include file="header.html"%}
<style>
table{text-align: center;}
th a{ color:#000000;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>退货单列表</h3>
    <form action="order.php" name="searchForm" method="get">
      <input type="hidden" name="act" value="back_list">
      发货单流水号
      <input type="text" name="delivery_sn" value="{%$delivery_sn%}"style="height:18px">
      <!-- 订单编号 -->
      订单编号
      <input type="text" name="order_sn" value="{%$order_sn%}"style="height:18px">
      <!-- 收货人 -->
      收货人
      <input type="text" name="consignee" value="{%$consignee%}"style="height:18px">
      <input value=" 搜索 " id="but_sousuo" style="width:50px; height:27px; margin-top:13px;" class="button" type="submit"> 
    </form>
  </div>
</div>
<div class="fixed_bottom">
  <form method="post" action="" id="aspnetForm" name="form1">
    <table align="center;" class="table tb-type2">
      <thead>
        <tr>
          <th><a>发货单流水号</a></th>
          <th><a>订单编号</a></th>
          <th><a>下单时间</a></th>
          <th><a>收货人</a></th>
          <th><a>发货时间</a></th>
          <th><a>退货时间</a></th>
          <th><a>操作人</a></th>
          <th><a>操作</a></th>
        </tr>
      </thead>
      <tbody id="sortable">
        {%foreach from=$back_list item=list key=k%}
            <tr>
              <td>{%$list.delivery_sn%}</td>
              <td>{%$list.order_sn%}</td>
              <td>
              <span>{%$list.add_time|date_format:'%Y-%m-%d %H:%M:%I'%}</span>
              </td>
              <td>{%$list.consignee%}</td>
              <td>
              <span>{%$list.update_time|date_format:'%Y-%m-%d %H:%M:%I'%}</span>
              </td>
               <td>
              <span>{%$list.return_time|date_format:'%Y-%m-%d %H:%M:%I'%}</span>
              </td>
              <td>{%$list.action_user%}</td>
              <td>
                <a href="order.php?act=back_edit&back_id={%$list.back_id%}">查看</a>
              </td>
            </tr>
          {%/foreach%}
        </tbody>
      </table>
      <div class="page">{%$page%}</div>
    </form>
  </div>
</body>
</html>